import request from '@/utils/request'

const baseUrl = '/spoken/order'

// 查询订单列表
export function listOrder(query) {
  return request({
    url: baseUrl +'/list',
    method: 'get',
    params: query
  })
}

// 查询订单详情
export function getOrderDetail(orderId) {
  return request({
    url: baseUrl +'/' + orderId,
    method: 'get'
  })
}
